A. Can store multiple values
B. It is syntax
C. Both of above
D. None of above
Advertisement
Related Mcqs:
- Main method parameter has which type of data type___________________?
- A. int B. char C. string D. double...
- All raw data types should be read and uploaded to the database as an array of________________?
- A. int B. byte C. char D. bollean...
- Methods that have same name, but different Parameter list and different definition known as_________________?
- A. Overriding B. Overloading C. Constructor D. none of these...
- What is the output for the below code ? public class Test{public static void main(String[] args){int i = 010; int j = 07;System.out.println(i); System.out.println(j); } } ?
- A. 7 8 B. 8 7 C. 9 8 D. None...
- What will be output of following program? public class Test{public static void main(String[] args){byte b=127; b++; b++; System.out.println(b); } } ?
- A. 127 B. -127 C. 129 D. -129...
- The following program: public class Test{ static boolean is OK; public static void main(String args[]){System.out.print(is OK); } } ?
- A. Prints true B. Prints false C. Will not compile as boolean is not initialized D. Will not compile as boolean can never be static...
- What will the output of the following program? public class Test{ public static void main(String args[]){float f = (1 / 4) * 10; int i = Math.round(f); System.out.println(i); } } ?
- A. 0 B. 1 C. 2 D. 3...
- Name the keyword that makes a variable belong to a class, rather than being defined for each instance of the class?
- A. abstract B. static C. volatile D. final...
- javah stands for ?
- A. java dissasamebler B. java header file C. java interpreter D. java compiler...
- pow () is associated with which class ?
- A. Input stream class B. Object class C. Math class D. None of above...
Advertisement